@charset "UTF-8";

//公共样式
@fontColor:#333;
@fontSize:14px;
@bodyBackgroundColor:#f1f1f1;
@allBorderRadius:3px;
@boxShadowColor:rgba(0, 0, 0, 0.18);
@aHoverColor:#e69c85;
@greyFontColor:#838383;

.selfDefinedFontSize(@dFontSize:14px){
  font-size: @dFontSize;
}
.borderRadius{
  -moz-border-radius: 3px;
  -ms-border-radius:3px;
  -webkit-border-radius: 3px;
  border-radius:3px;
}

//顶部菜单栏公共样式
@navBackgroundColor:#333;
@navWidth:1335px;
@navHeight:55px;
@navAFontSize:1.5em;
@navCurrentSelectBgColor:#e69c85;
@navCurrSelectBoxShadowColor:#e69c854f;

.clearCSS{
  padding: 0;
  margin: 0;
  font-size: @fontSize;
  color:@fontColor;
}

.clearfix{
  zoom: 1;
  &::after{
    clear: both;
    display: block;
    overflow: hidden;
    content: "";
  }
}

//主要内容
.main_section{
  width: @navWidth;
  height: auto;
  margin: 75px auto 0;

  .left_section{
    width: 72%;
    float: left;
  }

  .right_section{
    width: 25%;
    float: right;
  }
}

.card_section{
  background: #fff;
  box-shadow: 0 0 8px @boxShadowColor;
  margin-bottom: 20px;
  .borderRadius
}
.card_top{
  overflow: hidden;
  border-bottom: 2px solid #333;
  padding: 15px 10px;

  span{
    display: inline-block;
    float: left;
    font-size: @fontSize;
    border-left: 2px solid #1a89ed;
    padding-left: 5px;
    font-weight: bold;
  }

  a{
    float: right;
    color: #6db5f7;

    &:hover{
      color: @aHoverColor;
    }
  }
}

.card_down{
  padding: 10px 20px 1px;
}

.card_main_content{
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;

  &_title{
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
    .selfDefinedFontSize(16px);

    &:hover{
      color:@aHoverColor;
    }
  }

  &_section{
    font-size: @fontSize;
    line-height: 25px;
  }

  &_footer{
    margin-top: 10px;
    overflow: hidden;
    margin-bottom: 10px;

    span{
      color: @greyFontColor;
      margin-right: 20px;
      .selfDefinedFontSize(12px);
    }

    a{
      color: #096;

      &:hover{
        color: @aHoverColor;
      }
    }
  }
}

.article_time{
  background: url("../../pic/time.png") no-repeat 0 1px;
  padding-left: 20px;
}

.article_viewNum{
  background: url("../../pic/view.png") no-repeat 0 1px;
  padding-left: 20px;
}

.smallCardTitleCommonStyle{
  content: "";
  width: 36%;
  height: 2px;
  background: #333;
  position: absolute;
  top: 30px;
}
.small_card_title{
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  .selfDefinedFontSize(16px);

  &::before{
    .smallCardTitleCommonStyle;
    left: 10px;
  }

  &::after{
    .smallCardTitleCommonStyle;
    right: 10px;
  }

}

.small_card_content {
  padding: 0 10px 10px;
  line-height: 30px;

  .baseInfo{
    background: #f3f1f1;
    margin-bottom: 10px;
    padding: 0 10px;
    border-radius: @allBorderRadius;
  }
}

.author_pic{
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 50%;
  border: 1px solid #000;
}

.search_form{
  position: relative;
  margin-bottom: 10px;
}
.search_form:first-child{
  margin-bottom: 20px;
}
.search_text{
  width: 90%;
  padding-left: 5px;
  margin-left: 10px;
  margin-right: 10px;
  height: 30px;
  line-height: 30px;
}
.search_btn{
  width: 68px;
  height: 34px;
  line-height: 34px;
  cursor: pointer;
  border: 0;
  background-color: #1a89ed;
  font-family: 'Microsoft Yahei';
  color: #f3f3f3;
  position: absolute;
  top: 0;
  right: 12px;
  .selfDefinedFontSize(16px);
}
.search_CSDN{
  background-color: #d6000f;
}